﻿using System;
using System.Runtime.InteropServices;
using System.Text;

namespace Valve.VR
{
	// Token: 0x02000769 RID: 1897
	public struct IVRSettings
	{
		// Token: 0x04002ABD RID: 10941
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetSettingsErrorNameFromEnum GetSettingsErrorNameFromEnum;

		// Token: 0x04002ABE RID: 10942
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._Sync Sync;

		// Token: 0x04002ABF RID: 10943
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetBool SetBool;

		// Token: 0x04002AC0 RID: 10944
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetInt32 SetInt32;

		// Token: 0x04002AC1 RID: 10945
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetFloat SetFloat;

		// Token: 0x04002AC2 RID: 10946
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetString SetString;

		// Token: 0x04002AC3 RID: 10947
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetBool GetBool;

		// Token: 0x04002AC4 RID: 10948
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetInt32 GetInt32;

		// Token: 0x04002AC5 RID: 10949
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetFloat GetFloat;

		// Token: 0x04002AC6 RID: 10950
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetString GetString;

		// Token: 0x04002AC7 RID: 10951
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._RemoveSection RemoveSection;

		// Token: 0x04002AC8 RID: 10952
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._RemoveKeyInSection RemoveKeyInSection;

		// Token: 0x0200076A RID: 1898
		// (Invoke) Token: 0x06002D82 RID: 11650
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate IntPtr _GetSettingsErrorNameFromEnum(EVRSettingsError eError);

		// Token: 0x0200076B RID: 1899
		// (Invoke) Token: 0x06002D86 RID: 11654
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _Sync(bool bForce, ref EVRSettingsError peError);

		// Token: 0x0200076C RID: 1900
		// (Invoke) Token: 0x06002D8A RID: 11658
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetBool(string pchSection, string pchSettingsKey, bool bValue, ref EVRSettingsError peError);

		// Token: 0x0200076D RID: 1901
		// (Invoke) Token: 0x06002D8E RID: 11662
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetInt32(string pchSection, string pchSettingsKey, int nValue, ref EVRSettingsError peError);

		// Token: 0x0200076E RID: 1902
		// (Invoke) Token: 0x06002D92 RID: 11666
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetFloat(string pchSection, string pchSettingsKey, float flValue, ref EVRSettingsError peError);

		// Token: 0x0200076F RID: 1903
		// (Invoke) Token: 0x06002D96 RID: 11670
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetString(string pchSection, string pchSettingsKey, string pchValue, ref EVRSettingsError peError);

		// Token: 0x02000770 RID: 1904
		// (Invoke) Token: 0x06002D9A RID: 11674
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _GetBool(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);

		// Token: 0x02000771 RID: 1905
		// (Invoke) Token: 0x06002D9E RID: 11678
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate int _GetInt32(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);

		// Token: 0x02000772 RID: 1906
		// (Invoke) Token: 0x06002DA2 RID: 11682
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate float _GetFloat(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);

		// Token: 0x02000773 RID: 1907
		// (Invoke) Token: 0x06002DA6 RID: 11686
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _GetString(string pchSection, string pchSettingsKey, StringBuilder pchValue, uint unValueLen, ref EVRSettingsError peError);

		// Token: 0x02000774 RID: 1908
		// (Invoke) Token: 0x06002DAA RID: 11690
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _RemoveSection(string pchSection, ref EVRSettingsError peError);

		// Token: 0x02000775 RID: 1909
		// (Invoke) Token: 0x06002DAE RID: 11694
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _RemoveKeyInSection(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);
	}
}
